<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Uber.WebUI.Models.GuestShowDisplay>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Show</h2>
<script src="<%=Url.Content("~/Scripts/jquery.swfobject.1-0-5.min.js") %>" type="text/javascript" ></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('#flashc').flash({
            swf: '<%=Url.Content("~/Scripts/Guest.swf") %>',
            flashvars:
                     {
                         cid: '<%=Model.ClientId %>',
                         performer: '<%=Model.Performer %>',
                         regUrl: '<%=Url.Action("Member", "Register") %>',
                         loginUrl: '<%=Url.Action("LogIn", "Account") %>',
                         homeUrl: '<%=Url.Action("Index", "Home") %>',
                         conn: '<%=Model.MediaUrl %>'                         
                     },
                     
                     height: 900,
                     width: '100%'
        });
    });  
</script>
<div id="flashc">
</div>
</asp:Content>
